﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Model
{
    #region SubjectInfoEntity
    /// <summary>
    /// Entity:SubjectInfoEntity
    /// Author:NetCenter
    /// DateTime:2021/5/23 15:18:13
    /// </summary>
    [Serializable]
    public class SubjectInfoEntity
    {
        #region Member Variables
        protected int _subjectNo;
        protected string _subjectName = String.Empty;
        protected int _score;
        #endregion
        #region Constructer without paras
        public SubjectInfoEntity()
        {
        }
        #endregion
        #region Constructer with paras
        /// <summary>
        /// Constructer with paras
        /// </summary>
        /// <param name="subjectNo"></param>
        /// <param name="subjectName"></param>
        /// <param name="score"></param>
        public SubjectInfoEntity(
        int subjectNo,
        string subjectName,
        int score)
        {
            this._subjectNo = subjectNo;
            this._subjectName = subjectName;
            this._score = score;
        }
        #endregion
        #region Public Properties
        public int SubjectNo
        {
            get { return _subjectNo; }
            set { _subjectNo = value; }
        }

        public string SubjectName
        {
            get { return _subjectName; }
            set { _subjectName = value; }
        }

        public int Score
        {
            get { return _score; }
            set { _score = value; }
        }
        #endregion
    }
    #endregion
}
